﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="FindPassword.aspx.cs" Inherits="NJL.WebUsers.FindPassword" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>找回密码-农家乐网</title>
    <link rel="stylesheet" type="text/css" href="Styles/base1.css" />
    <link href="Styles/manage.css" rel="stylesheet" type="text/css" />
    <script src="Scripts/jquery-1.4.1.js" type="text/javascript"></script>
    <script type="text/javascript">
        function checkEmail() {
            var txtEmail = document.getElementById("txtEmail").value;
            txtEmail = $.trim(txtEmail);
            if (txtEmail == "") {
                alert("邮箱账号不能为空哦");
                return false;
            }
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="cleanFlex managecont">
        <!--找回密码-->
        <div class="reg" style="height: 300px;">
            <h1>
                找回密码</h1>
            <div class="main">
                <div class="item">
                    <p class="info">
                        <label>
                            Email：</label><span>注册时使用Email注册的用户</span></p>
                    <asp:TextBox CssClass="input" ID="txtEmail" runat="server" Style="width: 280px;"></asp:TextBox>
                </div>
                <div class="item">
                    <p class="info">
                        <label>
                            验证码：</label></p>
                    <asp:TextBox CssClass="input" ID="txtVCode2" runat="server" Style="width: 80px;"></asp:TextBox>
                    <img src="/ValidateCodeEmail.aspx" id="imgEmail" align="top" style="cursor: pointer;
                        height: 30px;" onclick="javascript:this.src = '/ValidateCodeEmail.aspx?' + Date().toString();"
                        alt="验证码" title="看不清，点击图片，换一张" />
                    <span class="bluelink"><a onclick="javascript:document.getElementById('imgEmail').src = '/ValidateCode.aspx?' + Date().toString();"
                        style="cursor: pointer">看不清，换一张</a></span>
                </div>
                <div class="m_top_10">
                    <asp:Button CssClass="redbtn" ID="Button2" runat="server" Text="找回密码" OnClick="btnSubmitEmail_Click"
                        OnClientClick="return checkEmail()" />
                </div>
            </div>
            <div class="cleanFlex">
            </div>
        </div>
        <!--第二部-->
        <div class="registtype cleanFlex" style="height: 300px; display: none">
            <div class="findWordTitle">
                <h2>
                    找回密码</h2>
            </div>
            <div class="tips">
                <p>
                    我们已经将包含有修改密码链接的邮件发送到您的邮箱中了，请及时查收您的信箱查收邮件，若长时间没有收到邮件，请点击“重发验证邮件”，我们 回向您的邮箱重新发送一封验证邮件。</p>
            </div>
            <div class="m_top_20  centeralign">
                <p>
                    您的Email地址是：211455858@qq.com <span class="bluelink"><a href="#">重新发送验证邮件</a></span></p>
            </div>
        </div>
    </div>
    </form>
</body>
</html>
